package utils

import (
	"crypto/md5"
	"fmt"
)

/**
 ** @author: hui
 ** @email: 3231954428@qq.com
 ** @phone: 15779563913
 ** @DataTime: 2021/12/20 18:46
 **/

func MD5(data string) string {
	return fmt.Sprintf("%X", md5.Sum([]byte(data)))
}